package com.mccken.markword;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2024-03-25 22:04
 **/
public class Demo1 {

	public static void main(String[] args) {

	}

	public void test(User user) {
		System.out.println(user.getAge());
		synchronized (user) {
			user.setAge(1);
		}
	}

}
